<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import devPixelRatio from "@/utils/devicePixelRatio.js";

export default {
  name: 'app',
  created() {
    new devPixelRatio().init(); // 初始化页面比例
  },
}
</script>

<style>
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  scrollbar-width: none; /* firefox */
  -ms-overflow-style: none; /* IE 10+ */
  font-size: 62.5%;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 100%;
  background-color: #e2e6f0;
}

::-webkit-scrollbar {
  width: 6px;
  display: none;
}

/*滚动条里面轨道*/
/*::-webkit-scrollbar-track{
  background: #163361;
  border-radius: 3px;
}*/
/*滚动条里面小方块*/
/*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #60c5ff;
}*/


</style>
